package com.ruoyi.management.carservicestatics.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * carservicestatics对象 t_car_service_statics
 * 
 * @author xly
 * @date 2021-12-08
 */
public class TCarServiceStatics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNo;

    /** 驾驶员id */
    @Excel(name = "驾驶员id")
    private Long employeeId;

    /** 驾驶员名称 */
    @Excel(name = "驾驶员名称")
    private String employeeName;

    /** 营运时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "营运时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operationTime;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 月份 */
    @Excel(name = "月份")
    private String month;

    /** 日期 */
    @Excel(name = "日期")
    private String day;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 金额 */
    @Excel(name = "金额")
    private Double amount;

    /** 企业id */
    @Excel(name = "企业id")
    private Long companyId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCarNo(String carNo) 
    {
        this.carNo = carNo;
    }

    public String getCarNo() 
    {
        return carNo;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setOperationTime(Date operationTime) 
    {
        this.operationTime = operationTime;
    }

    public Date getOperationTime() 
    {
        return operationTime;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("carNo", getCarNo())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("operationTime", getOperationTime())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("orderId", getOrderId())
            .append("amount", getAmount())
                .append("companyId", getCompanyId())
            .toString();
    }
}
